<?php
/**
 * Created by PhpStorm.
 * User: wufeng
 * Date: 2021/8/22
 * Time: 22:11
 */
declare(strict_types=1);

namespace Wufeng\Healthkit;

class Config
{
    private $APPID;
    private $APP_SECRET;
    private $ACCESS_TOKEN;
    private $TOKEN_EXPIRED;

    public function __construct()
    {
        $this->APPID = '';
        $this->APP_SECRET = '';
    }

    public function getAppId()
    {
        return $this->APPID;
    }

    public function getSecret(){
        return $this->APP_SECRET;
    }


    public function getToken()
    {
        return $this->ACCESS_TOKEN;
    }

    public function setToken($token, $expireTime)
    {
        $this->ACCESS_TOKEN = $token;
        $this->TOKEN_EXPIRED = $expireTime;
    }
}
